<template>
    <div class="cell df-center">
        <i :class="[icon]"></i>
        <div class="content flex-one">
            <slot></slot>
        </div>
        <i class="el-icon-arrow-right r"></i>
    </div>
</template>
<script>
    export default{
        data(){
            return{
                
            }
        },
        props:{
            icon:{
                type:[String,Number],
                default:'el-icon-delete'
            }
        },
        mounted(){
            console.log(this.$slots)
        }
    }
</script>
<style lang="scss">
.cell {
  border-bottom: 1px solid #eee;
  padding: 10px 15px;
  .l {
    font-size: 24px;
    color: yellow;
  }
  .top {
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .content {
    margin: 0 10px;
  }
  .desc {
    color: #888;
    font-size: 12px;
  }
}

</style>

